package com.bsoft.exchange.dao.his;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bsoft.exchange.domain.Doctor;
import com.bsoft.exchange.domain.DoctorNumber;


@Mapper
public interface DoctorMapper {
	List<Doctor> selectList(@Param("hospitalCode") String hospitalCode,
			@Param("departmentCode") String departmentCode,
			@Param("isnullDate") int isnullDate,
			@Param("startdate") Date startdate,
			@Param("enddate") Date enddate,
			@Param("now") Date now,
			@Param("doctorCode") String doctorCode,
			@Param("doctorType") String doctorType,
			@Param("outpatientType") int outpatientType
			);
	
	List<DoctorNumber> selectListNumber(@Param("hospitalCode") String hospitalCode,
			@Param("departmentCode") String departmentCode,
			@Param("isnullDate") int isnullDate,
			@Param("startdate") Date startdate,
			@Param("enddate") Date enddate,
			@Param("now") Date now,
			@Param("doctorCode") String doctorCode
			);

	List<Doctor> getDoctorByName(@Param("jgid") Long jgid,@Param("ygxm") String ygxm);
}
